package jp.sourceforge.akjrcp.psp;

import jp.sourceforge.akjrcp.akj_betas.Akj_betasPlugin;
import jp.sourceforge.akjrcp.akj_betas.Messages;

import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.StringFieldEditor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

public class OldPSPSettingPage extends FieldEditorPreferencePage
implements IWorkbenchPreferencePage {
	public static final String EXPORT_MOVIE_SETTINGS="pspsetting.movie_settings";
	public static final String EXPORT_MOVIE_SETTINGS_INDEX="pspsetting.movie_settings_index";
		public OldPSPSettingPage() {
		super(GRID);
		setPreferenceStore(Akj_betasPlugin.getDefault().getPreferenceStore());
		setDescription(Messages.getString("pspsetting.description")); //$NON-NLS-1$
		initializeDefaults();
	}
	
	private void initializeDefaults() {
		
		// no one call it before open them

	}

	protected void createFieldEditors() {
		addField(new PSPMovieSettingEditor(EXPORT_MOVIE_SETTINGS,Messages.getString("pspsetting.movie_settings"),getFieldEditorParent()));
    	adjustGridLayout(); 
	}

	public void init(IWorkbench workbench) {
		
	}

}
